package com.example.listossimage.controller;

import com.example.listossimage.aop.LogInfo;
import com.example.listossimage.entity.IdentifyCallback;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PortraitDeviceController {

    /**
     * 识别回调
//     * @param identifyCallback
     * @return
     */
    @GetMapping("/setIdentifyCallBack")
    @LogInfo("test")
    public String setIdentifyCallBack() {
//        System.out.println(identifyCallback);
        return "{\"result\":1,\"success\":true}";
    }
}
